from typing import Any

from recruit.adapter.database.models import ResumeSalary
from tests.adapter.models.utils import (
    check_fields,
    check_model_resume,
)


def test_resume_salary_model(get_resume_salary) -> None:
    check_model_resume(ResumeSalary, get_resume_salary)


def test_fields() -> None:
    fields = ('id', 'resume_id', 'salary')
    check_fields(fields, ResumeSalary)
